﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace be.metanous.mvvm.core
{
    public class PropertyValidationEventArgs: EventArgs
    {

        public delegate void PropertyValidationEventHandler(object sender, PropertyValidationEventArgs eventArgs);

        public PropertyValidationEventArgs(String propertyName)
        {
            PropertyName = propertyName;
            Error = String.Empty;
        }

        public string PropertyName { get; private set; }

        public string Error { get; set; }
    }
}
